package com.szxy.miaosha.dao;

import com.szxy.miaosha.domain.MiaoshaUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: zwz
 * @Date:2020/9/6 22:09
 * @Description:com.szxy.miaosha.dao
 * @Version:1.0
 **/
@Mapper
public interface MiaoShaUserDao {

    @Select("select * from miaosha_user where id = #{id}")
    MiaoshaUser getById(Long id);

}
